<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/seajs/sea-debug.js"></script>
<script type="text/javascript">
    define('init-mail-check', function () {
        $(function () {
            // 给"导航到邮箱的按钮"定位到不同的邮件服务提供商
            $('#lnkEmailHost').attr('href', getEmailHost($('#email').text()));
        });
    });
    seajs.use('init-mail-check');
</script>
<div class='center span-4'>
    <h4><span id="email">gukaitong@gmail.com</span><span id="msg">
    <?php
        switch ($hr) {
            case 1:
                echo '验证成功';
                break;
            case 2:
                echo '邮件验证失败:邮箱已经验证';
                break;
            default:
                echo '邮件验证失败:未知错误,请联系系统管理员';
                break;
        }
        ?>
    </span>   </h4>

    <div><span id="seconds">2</span>秒钟后返回 <a href="#">立即返回</a></div>

</div>